
class P(object):
    def __init__(self,name):
        self.name=name

    def info(self):
        print(self.name)
class PP(P):
    def __init__(self,name,age):
        self.name=name
        self.age=age
    def info(self):
        print(self.name,self.age)

c = P('NAME')
cc = PP('WWW',23)
print(c.name)
c.info()

print(cc.age,cc.name)
cc.info()


def m1():
    return 2==2
def m2(a,b=23):
    print(a)
